//
//  ZZNetWorkUploadRequest.h
//  ZZNetWorker
//
//  Created by ZengLiZhi on 2024/2/1.
//

#import <ZZNetWorkRequest.h>

NS_ASSUME_NONNULL_BEGIN

@interface ZZNetWorkUploadRequest : ZZNetWorkRequest

//data
@property (nonatomic, strong) NSData *data;
@property (nonatomic, strong, readonly) ZZNetWorkUploadRequest * (^zz_data)(NSData *data);

@property (nonatomic, strong) NSString *fileName;
@property (nonatomic, strong, readonly) ZZNetWorkUploadRequest * (^zz_fileName)(NSString *fileName);

/// 默认为file
@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong, readonly) ZZNetWorkUploadRequest * (^zz_name)(NSString *name);

///1、通用application/octet-stream  2、图片image/jpeg 3、视频mp4等
@property (nonatomic, strong) NSString *mimeType;
@property (nonatomic, strong, readonly) ZZNetWorkUploadRequest * (^zz_mimeType)(NSString *mimeType);

@end

NS_ASSUME_NONNULL_END
